FROM openjdk:8
WORKDIR /apps
ARG JAR_FILE
ADD target/${JAR_FILE} app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]